package com.psp.bu.persist.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.psp.bu.model.ServiceCategoryBean;
import com.psp.bu.persist.dao.ServiceCategoryDao;

@Repository
public class ServiceCategoryImpl extends BaseImpl implements ServiceCategoryDao {
	
	final String NAME_SPACE = NAME_SPACE_HEADER + ".ServiceCategoryMapper";

	@Override
	public List<ServiceCategoryBean> selectTypesByPcode(int pcode) {
		return sqlSessionTemplate.selectList(NAME_SPACE + ".selectTypesByPcode", pcode);
	}

}
